package io.osw.modules.sys.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import io.osw.common.validator.group.AddGroup;
import io.osw.common.validator.group.UpdateGroup;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 校区表
 *
 * @author guxiaoguang
 * @email xuebai864627555@gmail.com
 * @date 2019-01-15 17:55:02
 */
@TableName("tbl_school")
public class TblSchoolEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	//教师组长
	@TableField(exist=false)
	private String username;
	//公司
	@TableField(exist=false)
	private String companyName;

	//区域
	@TableField(exist=false)
	private String area;

	//大区
	@TableField(exist=false)
	private String bigArea;

	//校长
	@TableField(exist=false)
	private String principalName;

	/**
	 * 部门名称
	 */
	@TableField(exist=false)
	private String deptName;

	/**
	 * 校区ID
	 */
	@TableId
	private Long schoolId;
	/**
	 * 校区名称
	 */
	private String schoolName;
	/**
	 * 校区代码
	 */
	private String schoolCode;
	/**
	 * 主体
	 */
	private String organization;
	/**
	 * 教师组长id@   和 sys_user  id
	 */
	private Long trsId;
	/**
	 * 公司ID
	 */
	private Long companyId;
	/**
	 * 地址
	 */
	private String address;
	/**
	 * 校长@和用户表的id 关联
	 */
	private Long principalId;
	/**
	 * 部门ID@和部门表sys_dept 的id 关联
	 */
	private Long deptId;
	/**
	 * 区域id sys_dept id 类型为区域
	 */
	private Long areaId;
	/**
	 * 大区id sys_dept id 类型为大区
	 */
	private Long bigAreaId;
	/**
	 * 联系电话
	 */
	private String concatorPhone;
	/**
	 * 备注
	 */
	private String attribute1;
	/**
	 * 备注
	 */
	private String attribute2;
	/**
	 * 备注
	 */
	private String attribute3;
	/**
	 * 备注
	 */
	private String attribute4;
	/**
	 * 备注
	 */
	private String attribute5;
	/**
	 *
	 */
	private Date createTime;
	/**
	 *
	 */
	private Long createBy;
	/**
	 *
	 */
	private Date updateTime;
	/**
	 *
	 */
	private Long updateBy;

	/**
	 * 设置：校区ID
	 */
	public void setSchoolId(Long schoolId) {
		this.schoolId = schoolId;
	}
	/**
	 * 获取：校区ID
	 */
	public Long getSchoolId() {
		return schoolId;
	}
	/**
	 * 设置：校区名称
	 */
	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName;
	}
	/**
	 * 获取：校区名称
	 */
	public String getSchoolName() {
		return schoolName;
	}
	/**
	 * 设置：校区代码
	 */
	public void setSchoolCode(String schoolCode) {
		this.schoolCode = schoolCode;
	}
	/**
	 * 获取：校区代码
	 */
	public String getSchoolCode() {
		return schoolCode;
	}
	/**
	 * 设置：主体
	 */
	public void setOrganization(String organization) {
		this.organization = organization;
	}
	/**
	 * 获取：主体
	 */
	public String getOrganization() {
		return organization;
	}
	/**
	 * 设置：教师组长id@   和 sys_user  id
	 */
	public void setTrsId(Long trsId) {
		this.trsId = trsId;
	}
	/**
	 * 获取：教师组长id@   和 sys_user  id
	 */
	public Long getTrsId() {
		return trsId;
	}
	/**
	 * 设置：公司ID
	 */
	public void setCompanyId(Long companyId) {
		this.companyId = companyId;
	}
	/**
	 * 获取：公司ID
	 */
	public Long getCompanyId() {
		return companyId;
	}
	/**
	 * 设置：地址
	 */
	public void setAddress(String address) {
		this.address = address;
	}
	/**
	 * 获取：地址
	 */
	public String getAddress() {
		return address;
	}
	/**
	 * 设置：校长@和用户表的id 关联
	 */
	public void setPrincipalId(Long principalId) {
		this.principalId = principalId;
	}
	/**
	 * 获取：校长@和用户表的id 关联
	 */
	public Long getPrincipalId() {
		return principalId;
	}
	/**
	 * 设置：部门ID@和部门表sys_dept 的id 关联
	 */
	public void setDeptId(Long deptId) {
		this.deptId = deptId;
	}
	/**
	 * 获取：部门ID@和部门表sys_dept 的id 关联
	 */
	public Long getDeptId() {
		return deptId;
	}
	/**
	 * 设置：区域id sys_dept id 类型为区域
	 */
	public void setAreaId(Long areaId) {
		this.areaId = areaId;
	}
	/**
	 * 获取：区域id sys_dept id 类型为区域
	 */
	public Long getAreaId() {
		return areaId;
	}
	/**
	 * 设置：大区id sys_dept id 类型为大区
	 */
	public void setBigAreaId(Long bigAreaId) {
		this.bigAreaId = bigAreaId;
	}
	/**
	 * 获取：大区id sys_dept id 类型为大区
	 */
	public Long getBigAreaId() {
		return bigAreaId;
	}
	/**
	 * 设置：联系电话
	 */
	public void setConcatorPhone(String concatorPhone) {
		this.concatorPhone = concatorPhone;
	}
	/**
	 * 获取：联系电话
	 */
	public String getConcatorPhone() {
		return concatorPhone;
	}
	/**
	 * 设置：备注
	 */
	public void setAttribute1(String attribute1) {
		this.attribute1 = attribute1;
	}
	/**
	 * 获取：备注
	 */
	public String getAttribute1() {
		return attribute1;
	}
	/**
	 * 设置：备注
	 */
	public void setAttribute2(String attribute2) {
		this.attribute2 = attribute2;
	}
	/**
	 * 获取：备注
	 */
	public String getAttribute2() {
		return attribute2;
	}
	/**
	 * 设置：备注
	 */
	public void setAttribute3(String attribute3) {
		this.attribute3 = attribute3;
	}
	/**
	 * 获取：备注
	 */
	public String getAttribute3() {
		return attribute3;
	}
	/**
	 * 设置：备注
	 */
	public void setAttribute4(String attribute4) {
		this.attribute4 = attribute4;
	}
	/**
	 * 获取：备注
	 */
	public String getAttribute4() {
		return attribute4;
	}
	/**
	 * 设置：备注
	 */
	public void setAttribute5(String attribute5) {
		this.attribute5 = attribute5;
	}
	/**
	 * 获取：备注
	 */
	public String getAttribute5() {
		return attribute5;
	}
	/**
	 * 设置：
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：
	 */
	public void setCreateBy(Long createBy) {
		this.createBy = createBy;
	}
	/**
	 * 获取：
	 */
	public Long getCreateBy() {
		return createBy;
	}
	/**
	 * 设置：
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	/**
	 * 获取：
	 */
	public Date getUpdateTime() {
		return updateTime;
	}
	/**
	 * 设置：
	 */
	public void setUpdateBy(Long updateBy) {
		this.updateBy = updateBy;
	}
	/**
	 * 获取：
	 */
	public Long getUpdateBy() {
		return updateBy;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getBigArea() {
		return bigArea;
	}

	public void setBigArea(String bigArea) {
		this.bigArea = bigArea;
	}

	public String getPrincipalName() {
		return principalName;
	}

	public void setPrincipalName(String principalName) {
		this.principalName = principalName;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}
}
